id/email
password
forgot password | create account
about | help | prefs
ReadingBatcode reading practice

 

 

Athenian: Variablesaddition2

prev  |  next  |  chance

Determine the value returned by the function. Pay close attention to variable types!

def add_num(num):
    total = num + 2.5
    return total
Function Call  Return Value
add_num(2.25)
add_num(-2)
add_num(10)
add_num(-2.75)

Experiment with this code on Gitpod.io

⬅ Back